package com.crm.service.trainingManager;

import com.crm.model.entity.trainingManager.TrainingContact;
import com.crm.model.entity.trainingManager.TrainingContract;
import com.crm.model.qo.trainingManager.TrainingContactListQO;
import com.crm.model.vo.trainingManager.TrainingContractDetailVO;
import com.crm.model.vo.trainingManager.TrainingContractVO;

import java.util.List;

/**
 * @author luojie
 * @date 2021/9/13 16:03
 */
public interface TrainingContractDbService {

    Boolean insertTrainingContract(TrainingContract trainingContract);

    /**
     * (用户模块)内训管理--内训合同列表
     * @param trainingContactListQO --查询条件
     * @param orderStr              --排序
     * @author yincuimei
     * @return
     */
    List<TrainingContractVO> selectTrainingContractVOList(TrainingContactListQO trainingContactListQO,String orderStr);

    /**
     * (用户模块)内训管理-》内训合同列表-》合同详情-》合同信息
     * @param trainingContractId --内训合同ID
     * @author yincuimei
     * @return
     */
    TrainingContractDetailVO selectTrainingContractDetailVO(String trainingContractId);

    /**
     * 内训线索池列表(管理)/内训线索(用户)内训详情--合同订单列表
     * @param trainingId  --内训ID
     * @return
     */
    List<TrainingContractVO> selectTrainingContractListByTrainingId(String trainingId,String orderStr);

}
